Skip to content

fix(quotas): avoid stale contexts in status updates#52

Merged
aliou merged 1 commit into
mainfrom
worktree/ctxless-quota-status
May 6, 2026
Merged

fix(quotas): avoid stale contexts in status updates#52
aliou merged 1 commit into
mainfrom
worktree/ctxless-quota-status

Conversation

@aliou
Copy link
Copy Markdown
Owner

@aliou aliou commented May 5, 2026

Summary

  • replace quota status polling with event-driven quota snapshots
  • remove cached ExtensionContext usage from quota status and warnings
  • add short-lived quota read/request callbacks backed by QuotaStore
  • clear quota state on session switch/shutdown and ignore stale refresh results

Checks

  • pnpm typecheck
  • pnpm lint
  • pnpm format
  • pnpm test

@aliou aliou changed the base branch from main to worktree/after_provider_response May 5, 2026 21:09
Base automatically changed from worktree/after_provider_response to main May 5, 2026 21:11
@aliou aliou force-pushed the worktree/ctxless-quota-status branch from 77acaa1 to 9fea2aa Compare May 5, 2026 21:12
@aliou aliou merged commit c50724e into main May 6, 2026
1 check passed
@aliou aliou deleted the worktree/ctxless-quota-status branch May 6, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant